﻿using System.Data.Entity;
using Devdream.Models;
namespace Devdream.DAL
{
    /// <summary>
    /// 数据上下文
    /// </summary>
    public class DevdreamDbContent:DbContext
    {
        public DbSet<User> Users { get; set; }
        public DbSet<Role> Roles { get; set; }
        public DbSet<UserRoleRelation> UserRoleRelations { get; set; }
        public DbSet<UserConfig> UserConfig { get; set; }
        public DevdreamDbContent()
            : base("DevdreamWebCon")
        { 
        
        }

    }
}